// 业务明细路由
export default {
  path: "/business-manage",
  name: "BusinessManage",
  component: () => import("@/layout/index.vue"),
  redirect: "/business-manage/self-loan",
  meta: {
    title: "业务明细",
    icon: "ep:document",
    rank: 2,
  },
  children: [
    {
      path: "/business-manage/self-loan",
      name: "SelfLoan",
      component: () => import("@/views/business/self-loan/index.vue"),
      meta: {
        title: "转贷赎楼",
      }
    },
    {
      path: "/business-manage/self-loan/detail/:id",
      name: "SelfLoanDetail",
      component: () => import("@/views/business/self-loan/modules/detail.vue"),
      meta: {
        title: "转贷赎楼详情",
        showLink: false,
      }
    },
    {
      path: "/business-manage/trade-loan",
      name: "TradeLoan",
      component: () => import("@/views/business/trade-loan/index.vue"),
      meta: {
        title: "交易赎楼",
      }
    },
    {
      path: "/business-manage/trade-loan/detail/:id",
      name: "TradeLoanDetail",
      component: () => import("@/views/business/trade-loan/modules/detail.vue"),
      meta: {
        title: "交易赎楼详情",
        showLink: false,
      }
    },
    {
      path: "/business-manage/assist-loan",
      name: "AssistLoan",
      component: () => import("@/views/business/assist-loan/index.vue"),
      meta: {
        title: "助贷放款",
      }
    },
    {
      path: "/business-manage/assist-loan/detail/:id",
      name: "AssistLoanDetail",
      component: () => import("@/views/business/assist-loan/modules/detail.vue"),
      meta: {
        title: "助贷放款详情",
        showLink: false,
      }
    }
  ]
};
